home *** CD-ROM | disk | FTP | other *** search
/ Graphics & Sound Program…ng Techniques for the Mac / Graphics and Sound Programming Techniques for the Mac.iso / M&T Graphics & Sound Examples / Symantec Versions / C08 QuickTime Music / READ ME QuickTime Music
Encoding:
Text File  |  1995-08-31  |  2.6 KB  |  34 lines  |  [TEXT/ttxt]

  1. READ ME QuickTime Musical Instruments
  2.  
  3. __________________________________________________________
  4.  
  5. You'll need the QuickTime Musical Instruments extension in the Extensions folder of your System Folder in order to run any of the QT Music example programs. Metrowerks owners have this file on there CD. They also don't have to follow the several steps listed below in order to compile properly.
  6.  
  7. A copy of the QuickTime Musical Instruments extension can be found at Apple's ftp.info.apple.com Internet site. The full path to this stuffed file is (as of this writing):
  8.  
  9. ftp.info.apple.com/Apple.Support.Area/Apple.Software.Updates/US/Macintosh/System/Other_System
  10.  
  11. The file's name is QuickTime_Musical_Instruments.sea.hqx. After downloading, unstuff using a utility like StuffIt Extractor.
  12.  
  13. __________________________________________________________
  14.  
  15. You'll also need to use a more recent set of Universal Header files than the ones Symantec supplies with Symantec C++ 7.0. If you have Symantec C++ 8.0, look in the Goodies folder of the Symantec C++ 8.0 CD. There'll you'll find another set of Universal Header files. At last check they were in a folder titled Universal 2.0a4 Interfaces. You can place the name of your current header file folder in parentheses, or move it out of the Symantec folder entirely. Then copy the "beta" 2.0a4 folder to your Symantec C++ folder. You'll also need to create a new version of MacHeaders. Save the old version by renaming it or moving it. Then read your Symantec documentation to see how to make a new MacHeaders.
  16.  
  17. If you don't have Symantec C++ 8.0, you can get a more current set of Universal Header files from ftp.info.apple.com. Follow this path:
  18.  
  19. ftp.info.apple.com/Apple.Support.Area/Developer_Services/Tool_Chest/Interfaces
  20.  
  21. The file name is Universal_Interfaces.sit.hqx. Downloaded it, then unstuff with a utility such as StuffIt Expander.
  22. __________________________________________________________
  23.  
  24. Did I mention that there's still one more step to getting the Music examples to compile? Using the new header files you may get the following type of compile errors:
  25.  
  26. File <QuickTimeComponents.h>; Line 2508; While compiling “PlayNote.c”
  27. Error:   could not evaluate constant expression
  28.  
  29. To remedy, open the QuickTimeComponents.h header file. Comment out the following three lines (search for "EventDurationMax" to find these three lines - they aren't together):
  30.  
  31. //    kRestEventDurationMax        = ((1 << kRestEventDurationFieldWidth) - 1),
  32. //    kNoteEventDurationMax        = ((1 << kNoteEventDurationFieldWidth) - 1),
  33. //    kXNoteEventDurationMax        = ((1 << kXNoteEventDurationFieldWidth) - 1),
  34.